package evostar.dao;

import evostar.model.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface UserDAO {
    @Select("Select * from user where name = #{username}")
    User getByName(String username);
}
